﻿@model LightWeb.DomainModel.Post
@{
    ViewBag.Title = "Detail";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>
    Detail</h2>
<fieldset>
    <legend>Post</legend>
    <div class="display-label">
        BlogID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.BlogID)
    </div>
    <div class="display-label">
        Title</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Title)
    </div>
    <div class="display-label">
        Description</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>
    <div class="display-label">
        Content</div>
    <div class="display-field">
        @(new MvcHtmlString(Model.Content))
    </div>
    <div class="display-label">
        Created</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Created)
    </div>
    <div class="display-label">
        Modified</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Modified)
    </div>
    <div class="display-label">
        Author</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Author)
    </div>
    <div class="display-label">
        Published</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Published)
    </div>
    <div class="display-label">
        CommentEnabled</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CommentEnabled)
    </div>
    <div class="display-label">
        Raters</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Raters)
    </div>
    <div class="display-label">
        Rating</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Rating)
    </div>
    <div class="display-label">
        Slug</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Slug)
    </div>
    <div class="display-label">
        IsDeleted</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsDeleted)
    </div>
    <div class="display-label">
        PrimaryKey</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PrimaryKey)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.PostID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
